#ifndef TOBJECT_H
#define TOBJECT_H

class TObject
{

};

class TArgs : public TObject
{
public:
    TArgs()
    {
        PublicID = 0;
        UiID = 0;
        CommandID = 0;
        RstModelID = 0;
        RstCommandID = 0;
        CommandArgs = NULL;
        CommandRst = NULL;
    }
    unsigned long   PublicID;       //模块ID
    unsigned long   UiID;           //Ui模块ID
    unsigned long   CommandID;      //命令ID
    unsigned long   RstModelID;     //返回结果模块ID
    unsigned long   RstCommandID;   //返回结果命令ID
    TObject*        CommandArgs;    //命令参数
    TObject*        CommandRst;     //返回参数
};

struct Tai_CB_Msg
{
    Tai_CB_Msg() { memset(this,0,sizeof(Tai_CB_Msg)); }
    unsigned long ulMsg;
    int wParam;
    int lParam;
};

typedef void(__stdcall *pfnCBClient)(Tai_CB_Msg *pInArgs, void *userdata);

#endif // TOBJECT_H
